package com.ev.framework.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Data
//@Component
//@ConfigurationProperties(prefix = "org.quartz")
@Deprecated
public class QuartzProperties {

    private Scheduler scheduler;

    private ThreadPool threadPool;

    private JobStore jobStore;

    private DataSource dataSource;

    @Data
    public static class Scheduler{
        private String instanceName;
    }

    @Data
    public static class ThreadPool{
        private long threadCount;
    }

    @Data
    public static class JobStore{
//        private String class;
        private String driverDelegateClass;
        private String tablePrefix;
        private String dataSource;
    }

    @Data
    public static class DataSource{

    }


}
